package de.piratech.dasding.data.database;

import java.util.List;

import de.piratech.dasding.data.Event;
import de.piratech.dasding.data.Location;

public interface EventData {

	public Event createEvent(Event event);

	public void deleteEvent(String id);

	public Event updateEvent(Event event);

	public Event getEvent(String id);

	public List<Event> getEvents();

	public List<Event> getEventsByUser(String userId);

	public List<Event> getEventsByLocation(Location location);
}
